package net.xdclass.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lhw
 * @since 2023-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wx_order_status")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WxOrderStatusDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id 默认使用雪花算法
     */
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单状态：FINISH 已完成, PREPARE 待支付，TIMEOUT 已超时,CANCEL 已取消
     */
    private String orderStatus;

    /**
     * 创建用户id
     */
    private Long ctUserId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date ctDate;

    /**
     * 修改用户id
     */
    private Long ltUsetId;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date ltDate;


}
